{layout name="admin/layout/layout" /}
<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">名称</label>
            <div class="layui-input-block">
                <input type="text" name="name" class="layui-input" lay-verify="required" placeholder="请输入名称" value="{$row.name|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">内容</label>
            <div class="layui-input-block">
                <textarea name="content" class="layui-input" lay-verify="required" style="height:100px">{$row.content|default=''}</textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">一行一个</div>
            <div class="layui-input-block">物品代码|是否红字(0否1体力2精神3力量4智力)|红字数值|锻造等级|强化等级|是否封装(0否1是)|物品数量|金币数量|邮箱标题|邮箱内容</div>
        </div>
        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label">CDK</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input type="text" name="cdk" class="layui-input" lay-verify="required" placeholder="请输入CDK" value="{$row.cdk|default=''}">-->
        <!--    </div>-->
        <!--</div>-->
        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label">使用时间</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input type="text" name="addtime" class="layui-input" lay-verify="required" placeholder="请输入使用时间" value="{$row.addtime|default=''}">-->
        <!--    </div>-->
        <!--</div>-->
        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label">状态</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input type="text" name="status" class="layui-input" lay-verify="required" placeholder="请输入状态" value="{$row.status|default=''}">-->
        <!--    </div>-->
        <!--</div>-->
        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label">账号</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input type="text" name="account" class="layui-input" lay-verify="required" placeholder="请输入账号" value="{$row.account|default=''}">-->
        <!--    </div>-->
        <!--</div>-->
        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label">角色ID</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input type="text" name="noid" class="layui-input" lay-verify="required" placeholder="请输入角色ID" value="{$row.noid|default=''}">-->
        <!--    </div>-->
        <!--</div>-->
        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label">角色</label>-->
        <!--    <div class="layui-input-block">-->
                
        <!--        <input type="text" name="gamename" class="layui-input" lay-verify="required" placeholder="请输入角色" value="{$row.gamename|default=''}">-->
        <!--    </div>-->
        <!--</div>-->
        <div class="layui-form-item">
            <label class="layui-form-label">开始时间</label>
            <div class="layui-input-block">
                <input type="text" name="mintime" data-date="" data-date-type="datetime" lay-verify="required" class="layui-input"  placeholder="请选择上架时间" value="{$row.mintime|date='Y-m-d H:i:s'}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">结束时间</label>
            <div class="layui-input-block">
                <input type="text" name="maxtime" data-date="" data-date-type="datetime" lay-verify="required" class="layui-input"  placeholder="请选择上架时间" value="{$row.maxtime|date='Y-m-d H:i:s'}">
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>
